package OoDay01;
//构造方法演示
public class ConsDemo {
    public static void main(String[] args) {
        Student zg=new Student();
        zg.name="张光";
        zg.age=24;
        zg.className="jsd2405";
        zg.stuId="001";
        zg.sayHi();

        Student ll=new Student("李亮",25,"jsd2405","002");
        ll.sayHi();
        Student zp=new Student("张鹏",25,"jsd2405","003");
        zp.sayHi();
    }
}
